import { get, post, post_json } from '@/http/axios'
export default {
  namespaced: true,
  state: {
      profitData:[]
  },
  mutations: {
    SET_PROFITDATA(state,payload){
        state.profitData = payload;
    }
  },
  actions: {
    //获取全部栏目的数据
    async getAllProfitData({commit},payload){
        let res = await get('/accountApply/pageQueryAccountApply',payload)
        commit('SET_PROFITDATA',res.data.data.list)
    }
  }
}